- /* sfmsetsl.cpp by K.Tsuru */
- // function ID = 701 DRADIX
- /***********************************
- SFraction class
- It sets a value by two SLong values.
- ************************************/
- #ifndef SN_H
- #include "sn.h"
- #endif
- void SFraction::Set(const SLong& n, const SLong& d){
- num = n; den = d;
- reduceDone = false;
- RadixCheck(); DenCheck();
- #if REDUCE_SIZE != 0
- reduce(false);
- #else
- reduce();
- #endif
- }
sfmsetsl.cpp : last modifiled at 2017/10/23 10:56:02(429 bytes)
created at 2015/12/22 16:07:29
The creation time of this html file is 2017/10/23 11:28:46 (Mon Oct 23 11:28:46 2017).